/**
 * @author Daniel Weber
 */
import javax.microedition.midlet.*;
import javax.microedition.lcdui.Display;



public class ProjectGravity extends MIDlet {

public static Display display;
public static ActionCanvas ac;

    public void startApp() {
            display = Display.getDisplay(this);
            ac = new ActionCanvas(this);
            display.setCurrent(ac);
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
        if(Game.higscoreListe!=null)
            SpeicherInterface.writeIntegerArray("highscores", Game.higscoreListe);
    }


}
